//
//  AllCarsTableViewCell.m
//  19_CarHomeWork
//
//  Created by dllo on 16/8/9.
//  Copyright © 2016年 DM.C. All rights reserved.
//

#import "AllCarsTableViewCell.h"
#import "UIImageView+DownloadImage.h"
#import "List.h"
@implementation AllCarsTableViewCell
- (void)setList:(List *)list {
    _list = list;
    [self.allCarsImage asyncDownloadImageWithURL:_list.imgurl completionHandler:^(NSData *data, UIImage *image) {
    }];
    self.allCarsName.text = _list.name;
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
